package common

import "ci-control-backend/tools"

const (
	// RoleProjectMember 普通成员
	RoleProjectMember = "MEMBER"
	// RoleProjectManage 项目管理员
	RoleProjectManage = "MANAGE"
	// RoleProjectLeader 项目负责人
	RoleProjectLeader = "LEADER"
	// RoleProjectAdmin 系统管理员
	RoleProjectAdmin = "ADMIN"
)

var (
	UINT_TYPE = uint(0)
	UINT_PTR  = tools.UintPtr(0)
)

var (
	OFFLINE = 0
	ONLINE  = 1
)

var (
	RUNNING uint = 0
	FINISH  uint = 1
	FAIL    uint = 2
)
